<template>
  <div>
    <input type="text" @keyup.enter = "en"/>
  </div>
</template>

<script>
export default {
  methods: {
    en(){
      console.log("搜索");
    }
  },
}
</script>

<style>
</style>